# 皇冠基础参数
class PB_Config:
    # 皇冠基础参数
    http_path = "https://www.pin975.com"
    url = "https://www.pin975.com/sports-service/sv/compact/events"
    url_other = "https://www.pin975.com/sports-service/sv/compact/outright"
    uid = None
    headers = {
        "accept": "application/json, text/plain, */*",
        "accept-language": "zh-CN,zh;q=0.9",
        "cache-control": "no-cache",
        "pragma": "no-cache",
        "priority": "u=1, i",
        "referer": "https://www.pin975.com/zh-cn/compact/sports/soccer",
        "sec-ch-ua": "\"Chromium\";v=\"134\", \"Not:A-Brand\";v=\"24\", \"Google Chrome\";v=\"134\"",
        "sec-ch-ua-mobile": "?0",
        "sec-ch-ua-platform": "Windows",
        "sec-fetch-dest": "empty",
        "sec-fetch-mode": "cors",
        "sec-fetch-site": "same-origin",
        "user-agent": "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/134.0.0.0 Safari/537.36",
        "x-app-data": "Ev=PGnPvMm6C5yD12sW"
    }
    cookies = {
        "_sig": "Vcy1ObU5pTURNek5EZGpZalkzT1RneE1nOmpOSDRrd1ZlMkg2R1Nab3FBcHZTeGNuUzA6LTE5NDc3NTYzMTM6NzQzNTExNDcyOjIuMTAuMDpZcFVMQnBpaUN3",
        "_apt": "YpULBpiiCw",
        "Ev": "PGnPvMm6C5yD12sW",
        "skin": "pa",
        "lang": "zh_CN",
        "_gid": "GA1.2.2001067669.1743596472",
        "_ga": "GA1.1.715455795.1743596472",
        "_gat_gtag_UA_54994299_3": "1",
        
        "_dc_gtm_UA-55804949-1": "1",   # 今天有这个, 早盘没有
        "_ga_5PLZ6DPTZ0": "GS1.1.1743910332.1.1.1743910333.59.0.0",
        "_ga_DXNRHBHDY9": "GS1.1.1743910332.1.0.1743910333.59.0.496098139",
        "_ga_1YEJQEHQ55": "GS1.1.1743910333.1.0.1743910333.60.0.0"
    }
    football_request = {
        "btg": "1",         # 1:比赛/过关;2:输赢盘(半场&全场);100:球队总得分
        "hle": "false",     # 今天:false; 早盘:true;
        "mk": "1",          # 今天:1; 早盘:0;
        "cl": "3",
        "ic": "false",
        "ice": "false",
        "inl": "false",
        "l": "3",
        "me": "0",
        "more": "false",
        "o": "1",
        "ot": "1",
        "pa": "0",
        "pimo": "0,1,8,39,2,3,6,7,4,5",
        "pn": "-1",
        "pv": "1",
        "sp": "29",
        "tm": "0",
        "locale": "zh_CN",
        "withCredentials": "true",
        "v": "0",
        "_": None   # 时间戳
    }
    
    football_request_other = {
        "ort": "2",     # 2:特别投注;4:双重机会
        "mk": "1",      # 今天:1; 早盘:0;
        "_g": "1",
        "fixtureSince": "0",
        "oddSince": "0",
        "ot": "1",
        "sportId": "29",
        "locale": "zh_CN",
        "withCredentials": "true",
        "_": None   # 时间戳
    }
    
    headers_detail = {
    "accept": "application/json, text/plain, */*",
    "accept-language": "zh-CN,zh;q=0.9",
    "cache-control": "no-cache",
    "pragma": "no-cache",
    "priority": "u=1, i",
    "referer": "https://www.pin975.com/zh-cn/compact/sports/soccer",
    "sec-ch-ua": "\"Google Chrome\";v=\"135\", \"Not-A.Brand\";v=\"8\", \"Chromium\";v=\"135\"",
    "sec-ch-ua-mobile": "?0",
    "sec-ch-ua-platform": "\"Windows\"",
    "sec-fetch-dest": "empty",
    "sec-fetch-mode": "cors",
    "sec-fetch-site": "same-origin",
    "user-agent": "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/135.0.0.0 Safari/537.36",
    "x-app-data": "4G3KO=Hiao9OMExUfnUrWUzrdu"
}
    cookies_detail = {
    "_sig": "Vcy1ObU5pTURNek5EZGpZalkzT1RneE1nOmpOSDRrd1ZlMkg2R1Nab3FBcHZTeGNuUzA6LTE5NDc3NTYzMTM6NzQzNTExNDcyOjIuMTAuMDpZcFVMQnBpaUN3",
    "_apt": "YpULBpiiCw",
    "4G3KO": "Hiao9OMExUfnUrWUzrdu",
    "skin": "pa",
    "lang": "zh_CN",
    "_gid": "GA1.2.1820625982.1744568304",
    "_ga": "GA1.1.255922090.1744568304",
    "_ga_5PLZ6DPTZ0": "GS1.1.1744568304.1.1.1744568519.60.0.0",
    "_ga_1YEJQEHQ55": "GS1.1.1744568304.1.1.1744568519.60.0.0",
    "_ga_DXNRHBHDY9": "GS1.1.1744568304.1.1.1744568519.60.0.1566149361"
}
    football_request_detail = {
        "me": None,
        "btg": "2",
        "c": "Others",
        "cl": "0",
        "hle": None,
        "ic": "false",
        "ice": "false",
        "inl": "false",
        "l": "2",
        "mk": "3",
        "more": "true",
        "o": "0",
        "ot": "1",
        "pa": "0",
        "pimo": "0,1,8,39,2,3,6,7,4,5",
        "pn": "-1",
        "pv": "1",
        "sp": "",
        "tm": "0",
        "v": "0",
        "locale": "zh_CN",
        "withCredentials": "true",
        "_": None
    }